package com.zhang.learn.spring.springplugin;

import lombok.extern.slf4j.Slf4j;

/**
 * @author zhanghaolian
 * @date 2021/6/7 0:18
 */
@Slf4j
public class MobileIncrementV1 implements MobileIncrementBusiness{
    @Override
    public void increment(MobileCustomer mobileCustomer, int money) {
        log.info("给{}充值电话费,充值金额:{}",mobileCustomer.getTel(),money);
        log.info("充值完成.");
    }

    @Override
    public boolean supports(MobileCustomer delimiter) {
        return true;
    }
}
